﻿using NicoView.Model.Service.Lives;
using NicoView.Model.Share.Service.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.Model.Service.Events
{

    public abstract class NicoViewApplicationEventArgs : NicoEventArgs
    {
        public NicoViewApplicationEventArgs(NicoViewApplication application)
        {
            Application = application;
        }

        public NicoViewApplication Application { get; private set; }
    }

    public sealed class NicoLiveServiceConnectedEventArgs : NicoViewApplicationEventArgs
    {
        public NicoLiveServiceConnectedEventArgs(NicoViewApplication application, NicoLiveService liveService):base(application)
        {
            LiveService = liveService;
        }

        public NicoLiveService LiveService { get; private set; }
    }

    public delegate void NicoLiveServiceConnectedHandler(NicoLiveServiceConnectedEventArgs args);



}
